.sortable-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.sortable-table th {
    background: #f9fafb;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    min-width: 80px;
}

.dark-mode .sortable-table th {
    background: #333333;
    border-bottom-color: #3d3d3d;
}

.sortable-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.dark-mode .sortable-table td {
    border-bottom-color: #3d3d3d;
}

.dark-mode .sortable-table tr:hover td {
    background: #3d3d3d;
}

.table-index {
    color: #555;
    font-size: 12px;
    text-align: center;
}

.dark-mode .table-index {
    color: #9ca3af;
}

.sortable-table th:after {
    content: ' \25be';
    color: #ccc;
}

.sortable-table th[data-sorted="asc"]:after {
    color: #000;
}

.sortable-table th[data-sorted="desc"]:after {
    content: ' \25b4';
    color: #000;
}

.dark-mode .sortable-table th:after {
    color: #a0aec0;
}

.dark-mode .sortable-table th[data-sorted="asc"]:after,
.dark-mode .sortable-table th[data-sorted="desc"]:after {
    color: #e5e7eb;
}

.dark-mode .sortable-table th[data-sorted="desc"]:after {
    content: ' \25b4';
    color: #e5e7eb;
}

td .benchmark .function,
td .signature {
    overflow-wrap: anywhere;
}

td .signature {
    width: fit-content;
    white-space: normal;
    padding: 5px 2px;
    margin: 5px 0 0;
    font-family: monospace;
    font-size: 14px;
    cursor: pointer;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-indicator.has_bugs {
    background-color: rgb(253, 96, 96);
}

.status-indicator.no_bugs {
    background-color: #34d399;
}

.dark-mode .status-indicator.no_bugs {
    background-color: #10b981;
}

.chart-container {
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dark-mode .chart-container {
    background: #292929;
}

.chart-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.chart-box {
    flex: 1;
    min-height: 300px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
}

.dark-mode .chart-box {
    background: #333333;
}
